package math;

public class Demo2 {
	public static void main(String[] args) {
		int num =1234;
		
		int g = num % 10;
		int s = num / 10 %10;
		int b = num / 100%10;
		int q = num / 1000%10;
		int w = num / 10000&10;
		System.out.println(g + "," + s + "," + b + "," + q + "," + w + ",");
	}

}
